/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.pig4cloud.pigx.strategy.dto;


import lombok.Data;

import java.io.Serializable;

/**
 * 策略止盈止损-合约
 *
 * @since 2023/2/7 18:21
 */
@Data
public class StrategyStopOrderContractConditionDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 平台id
     */
    private Long platformId;

    /**
     * 任务id
     */
    private Long taskId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 仓位id
     */
    private Long positionId;

    /**
     * 方向（0做多、1做空）
     */
    private String side;

    /**
     * 同步状态（0未同步、1同步中、2同步成功）
     */
    private String syncStatus;

    /**
     * 委托状态（0待生效、1已生效、2已撤销、3委托失败、4异常）
     */
    private String status;

}
